home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / reiser4 / place.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  39 lines

  1. /* Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    place.h -- reiser4 tree place functions. */
  5.  
  6. #ifndef REISER4_PLACE_H
  7. #define REISER4_PLACE_H
  8.  
  9. #include <reiser4/types.h>
  10.  
  11. extern bool_t reiser4_place_valid(reiser4_place_t *place);
  12. extern errno_t reiser4_place_last(reiser4_place_t *place);
  13. extern errno_t reiser4_place_first(reiser4_place_t *place);
  14. extern errno_t reiser4_place_fetch(reiser4_place_t *place);
  15. extern bool_t reiser4_place_ltlast(reiser4_place_t *place);
  16. extern bool_t reiser4_place_gtfirst(reiser4_place_t *place);
  17.  
  18. extern bool_t reiser4_place_right(reiser4_place_t *place);
  19. extern void reiser4_place_inc(reiser4_place_t *place, int whole);
  20.  
  21. #ifndef ENABLE_MINIMAL
  22. extern bool_t reiser4_place_leftmost(reiser4_place_t *place);
  23. extern bool_t reiser4_place_rightmost(reiser4_place_t *place);
  24. extern void reiser4_place_dec(reiser4_place_t *place, int whole);
  25. #endif
  26.  
  27. extern errno_t reiser4_place_init(reiser4_place_t *place,
  28.                   reiser4_node_t *node,
  29.                   pos_t *pos);
  30.  
  31. extern errno_t reiser4_place_open(reiser4_place_t *place,
  32.                   reiser4_node_t *node,
  33.                   pos_t *pos);
  34.  
  35. extern errno_t reiser4_place_assign(reiser4_place_t *place,
  36.                     reiser4_node_t *node,
  37.                     uint32_t item, uint32_t unit);
  38. #endif
  39.